<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:ezcomp="http://java.sun.com/jsf/composite/ezcomp">

    <body>

        <ui:composition template="./../templates/principalTemplate.xhtml">

            <ui:define name="content">
                <h:form>
                    <p:panel header="Editar persona">
                        <h:panelGrid>
                            <p:outputLabel value="Nombre" for="slcIngreso"/>
                            <p:selectOneMenu id="slcIngreso" >
                            </p:selectOneMenu>
                        </h:panelGrid>
                        <ezcomp:capturaPersona id="persona" pojo="#{crearUsuario.persona}" capturaCorreo="false" />
                        <h:panelGrid>
                            <p:commandButton id="btnEliminar" value="Eliminar" ajax="false" />
                            <p:commandButton id="btnCancelar" value="Cancelar" ajax="false" />
                        </h:panelGrid>
                    </p:panel>
                </h:form>
            </ui:define>

        </ui:composition>

    </body>
</html>
